<#include "overall_header.html">

						<table cellspacing="1">
							<tr>
								<td width="50%" valign="top">
									<form action="${se_page.post_action}" method="post" id="settings">
									<table cellspacing="1">
										<caption>${L("nav.ticketadd")}</caption>
										<colgroup>
											<col width="130" class="col1"><col class="col2">
										</colgroup>
										<tbody>
											<tr>
												<td>${L("ticket.ticket-create")}</td>
												<td>
													${L("project.project-select")}
													<select id="project_id" name="project_id">
														${se_page.project_options}
													</select>
													<input type="submit" value="${L("global.submit")}" name="create_ticket" class="button1">
												</td>
											</tr>
										</tbody>
									</table>
									</form>
									
									<#if se_page.my_tickets?? && se_page.my_tickets?size &gt; 0>
									<table cellspacing="1">
										<caption><a href="${sf_configs.root_path}/ticket${sf_configs.extension}?owner_id=${se_session.session_uuid}">${L("ticket.tickets-working")}</a></caption>
										<thead>
											<tr>
												<th width="50">${L("ticket.priority")}</th>
												<th width="50">${L("ticket.status")}</th>
												<th>${L("ticket.subject")}</th>
											</tr>
										</thead>
										<tbody>
											<#list se_page.my_tickets as ticket> 
											<tr class="row<#if (ticket_index % 2) == 0>1<#else>2</#if>">
												<td>${L("ticket.priority."+ticket.priority)}</td>
												<td>${L("ticket.status."+ticket.status)}</td>
												<td><a href="${sf_configs.root_path}/ticketview${sf_configs.extension}?id=${ticket.id}">${ticket.subject}</a></td>
											</tr>
											</#list>
										</tbody>
									</table>
									</#if> 

								</td>
								<td width="50%" valign="top">

									<#if se_page.latest_tickets?? && se_page.latest_tickets?size &gt; 0>
									<table cellspacing="1">
										<caption><a href="${sf_configs.root_path}/ticket${sf_configs.extension}?orderby=0&order=0">${L("ticket.tickets-waiting")}</a></caption>
										<thead>
											<tr>
												<th width="50">${L("ticket.priority")}</th>
												<th>${L("ticket.subject")}</th>
												<th width="80"></th>
											</tr>
										</thead>
										<tbody>
											<#list se_page.latest_tickets as ticket> 
											<tr class="row<#if (ticket_index % 2) == 0>1<#else>2</#if>">
												<td>${L("ticket.priority."+ticket.priority)}</td>
												<td><a href="${sf_configs.root_path}/ticketview${sf_configs.extension}?id=${ticket.id}">${ticket.subject}</a></td>
												<td>
													<#if ticket.owner??>${ticket.owner.name}
													<#else><a class="button2" href="${sf_configs.root_path}/ticketassign${sf_configs.extension}?ticket_id=${ticket.id}&owner_id=${se_session.session_uuid}">${L("ticket.accept")}</a>
													</#if>
												</td>
											</tr>
											</#list>
										</tbody>
									</table>
									</#if> 
									
									<#if se_page.closed_tickets?? && se_page.closed_tickets?size &gt; 0>
									<table cellspacing="1">
										<caption><a href="${sf_configs.root_path}/ticket${sf_configs.extension}?orderby=0&order=0">${L("ticket.tickets-done")}</a></caption>
										<thead>
											<tr>
												<th width="50">${L("ticket.priority")}</th>
												<th width="50">${L("ticket.status")}</th>
												<th>${L("ticket.subject")}</th>
											</tr>
										</thead>
										<tbody>
											<#list se_page.closed_tickets as ticket> 
											<tr class="row<#if (ticket_index % 2) == 0>1<#else>2</#if>">
												<td>${L("ticket.priority."+ticket.priority)}</td>
												<td>${L("ticket.status."+ticket.status)}</td>
												<td><a href="${sf_configs.root_path}/ticketview${sf_configs.extension}?id=${ticket.id}">${ticket.subject}</a></td>
											</tr>
											</#list>
										</tbody>
									</table>
									</#if> 

								</td>
							</tr>
							
							<tr>
								<td width="50%" valign="top">
									
								</td>
								<td width="50%" valign="top">
									
								</td>
							</tr>
							<tr>
								<td>

								</td>
								<td width="50%" valign="top">

									
									
								</td>
							</tr>
						</table>

<#include "overall_footer.html">